package com.okaixz.client.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@ConfigurationProperties(prefix = "okaixz.jwt")
@Component
/**
 * jwt令牌相关配置类
 */
public class JwtProperties {
//    private String adminSecretKey;
//    private Long adminTtl;
//    private String adminTokenName;

    /*用户端生成jwt配置*/
    private String userSecretKey;
    private Long userTtl;
    private String userTokenName;

}
